package com.atqh.srrt.chicken.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/*
用户管理
 */
@TableName(value ="common_user")
@Data
public class SysUser {

    @TableId(type = IdType.AUTO)
    private Long id;

    private String account;

//    是否为专家（0：专家；1：普通用户）
    private Boolean admin;

    private String avatar;

    private Long createDate;

    private Integer deleted;

    private String email;

    private Long lastLogin;

    private String mobilePhoneNumber;

    private String nickname;

    private String password;

    private String salt;

    private String status;
}


